export function setToken(token) {
  return localStorage.setItem('zz01_token', token);
}
export function getToken() {
  return localStorage.getItem('zz01_token');
}

export function removeToken() {
  return localStorage.removeItem('zz01_token');
}

export function setIsShowType(value) {
  return sessionStorage.setItem('zz01_ShowType', value);
}
export function getIsShowType() {
  return sessionStorage.getItem('zz01_ShowType');
}
export function setSearchTypes(value) {
  let va = JSON.stringify(value);
  return sessionStorage.setItem('zz01_SearchType', va);
}
export function getSearchTypes() {
  return JSON.parse(sessionStorage.getItem('zz01_SearchType'));
}

export function setPathName(pathName) {
  return sessionStorage.setItem('zz01_pathName', pathName);
}
export function getPathName() {
  return sessionStorage.getItem('zz01_pathName');
}
